/**
 * Created by dave on 17/7/3.
 */
var parse = parse;
var app = new Vue({
    el: '#moneyManagement',
    data: {
        home: true,
        depositList: false,//押金list
        orderList: false,//账单list
        orderListDetail: false
    },
    created: function () {
        console.log('miney');

    },
    mounted: function () {
    },
    methods: {
        //查看
        checkDetail: function () {
            this.orderList = false;
            this.orderListDetail = true
        },
        listDetail: function (value) {
            if (value === '押金管理') {
                this.home = false;
                this.depositList = true;
            }
            if (value === '房租账单') {
                this.home = false;
                this.orderList = true;
            }
        }
    }
});
